import Vue from 'vue'
import Router from 'vue-router'
import Register from '@/components/Register'
import App from '@/components/App'
// import Register from '@/components/Register'

Vue.use(Router)

export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // },
    // {path:'/',redirect:'/register'},
    { path:'/',component:App},
    { path:'/register',name:"register",component:Register},
    
  ]
})
